package com.gt.web.srv.web.api.command;

import io.swagger.annotations.ApiModel;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import java.io.Serializable;

/**
 * 微信小程序登录入参
 *
 * @author Yu Chaohua
 * @date 2024/5/16 23:55
 */
@Data
@ApiModel(description = "获取微信用户信息")
public class WxUserInfoReqCommand extends WxLoginReqCommand implements Serializable {

    private static final long serialVersionUID = -884083536509929573L;
    
    @Schema(title = "消息密文", required = true)
    @NotBlank(message = "消息密文不能为空")
    private String encryptedData;

    @Schema(title = "加密算法的初始向量", required = true)
    @NotBlank(message = "加密算法的初始向量不能为空")
    private String iv;
}


